package com.maezia.tdr.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("t_dict")
public class Dict implements Serializable {

    /**
     * 字典id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 父节点id
     */
    private Long pid;

    /**
     * 字典key
     */
    private String name;

    /**
     * 字典value
     */
    private String value;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 更新时间
     */
    private String updateTime;

    /**
     * 是否删除 0-否 1-是
     */
    @TableLogic
    private Integer isDeleted;
}
